import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import userlist from '@/components/userlist' 
import userframe from '@/components/userframe'
import dailing from '@/components/dailing'
import cards from '@/components/cards'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/userlist',
      name: 'userlist',
      component: userlist
    },
    {
      path: '/dailing',
      name: 'dailing',
      component: dailing
    },
    {
      path: '/userframe',
      name: 'userframe',
      component: userframe
    },
    {
      path: '/cards',
      name: 'cards',
      component: cards
    } 
  ]
})
